package com.bluesky.plum.uimodels.render.html.components;

import com.bluesky.javawebbrowser.domain.html.tags.Tag;
import com.bluesky.javawebbrowser.domain.html.tags.TagType;
import com.bluesky.javawebbrowser.domain.html.tags.table.TR;
import com.bluesky.plum.uimodels.standard.components.EventListener;

public class HLabel extends com.bluesky.plum.uimodels.standard.components.Label {

	Tag label;

	public HLabel() {

		// a label and a input textbox
		label = new Tag(TagType.TEXT_BLOCK);
		label.setBody("");

	}

	@Override
	public Object getNativeComponent() {

		label.setBody(getCaption());

		return label;
	}

}
